import Vue from 'vue';
import App from './App.vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

import a1 from './comp/login.vue'; 
import a2 from './comp/reg.vue'; 

var router=new VueRouter({
	routes:[
		{path:'/login',component:a1},
		{path:'/regist',component:a2}
	]
})
import 'mint-ui/lib/style.min.css';
import mintui from 'mint-ui';
Vue.use(mintui);

import '../statics/mui/css/mui.css';

new Vue({
	el:'#app',
	// render:function(create){
	// 	create(App)
	// }
	router:router,
	render:c=>c(App)
}) 